<HTML>
<HEAD>
<TITLE>Edit alias</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf8">
<link rel="stylesheet" href="template/stylesheet.css">
</HEAD>
<BODY BGCOLOR=#FFFFFF leftmargin="0" topmargin="0" marginheight=0 marginwidth=0 rightmargin=0 bottommargin=0 background="images/back.gif" link="#0000FF" vlink="#0000FF" alink="#0000FF">










<div id="login_header">
<img id="login_header_logo" src="template/images/postbox.png" />
<img id="login_header_logo" src="template/images/postfixadmin2.png" />
</div>
<div id="menu">
<ul>

<TMPL_IF NAME="WELCOME">
  You called as:<b><strong class="yellow1"> <TMPL_VAR NAME="USERSE"> </strong></b> 
  <a href="index.pl?action=logout"><b><strong class="yellow1"> To go out</a></strong></b> 
  </br> </br> </br> </br>
</TMPL_IF>

   <li><a target="_top" href="index.pl">home</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listdomain">Domain List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listvirtual">Virtual List</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createdomain">New Domain</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createalias">Add Alias</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createmailbox">Add Mailbox</a></li>
   
      <TMPL_IF NAME="ADMIN_SEE">
   </br> </br> </br> </br>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=logms">Log SimpleMail</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=log">Log MTA</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=createadmin">Add Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=listadmin">Domain Admin</a></li>
   <li><a target="_top" href="index.pl?action=postfix&postfixactive=setting">Setting</a></li>
   </TMPL_IF>
   
</ul>
</div>



<div id="edit_form">
<form name="alias" method="post">
<table>
   <tr>
      <td colspan="3"><h3>Edit an alias for your domain.<br />One entry per line.</h3></td>

   </tr>
     <input type="hidden" name="postfixform" value="editalias2">
     <input type="hidden" name="address" value="<TMPL_VAR NAME="address">">
     <input type="hidden" name="domain" value="<TMPL_VAR NAME="domain">">
   <tr>
      <td>Alias:</td>
      <td><TMPL_VAR NAME="address"></td>
      <td>&nbsp;</td>
   </tr>
   <tr>
      <td>To:</td>


      <td>
<textarea class="flat" rows="10" cols="60" name="fGoto">
<TMPL_LOOP NAME="ROWS"><TMPL_VAR NAME="goto">
</TMPL_LOOP>
</textarea>
      </td>
       

      
      <td>&nbsp;</td>
      

         
   </tr>
   <tr>
      <td colspan="3" class="hlp_center"><input class="button" type="submit" name="submit" value="Edit Alias" /></td>
   </tr>

   <TMPL_IF NAME="alias_edit">
    <tr>
      <td colspan="3" class="standout">The alias edit</br /></td>
    </tr>
    
   </TMPL_IF>


      <TMPL_IF NAME="param_vaild">
   <tr>
      <td colspan="3" class="standout"><span class="error_msg">The domain and address is not valid!</span></td>
   </tr>      
      </TMPL_IF>
      
      <TMPL_IF NAME="alias_disable">
   <tr>
      <td colspan="3" class="standout"><span class="error_msg">The alias is disable!</span></td>
   </tr>      

      </TMPL_IF>
      
      <TMPL_IF NAME="no_found">
         <tr>
      <td colspan="3" class="standout"><span class="error_msg">The domain and address or user not found!</span></td>
   </tr>
      
      </TMPL_IF>
   
      
      
     <TMPL_IF NAME="no_goto">

     <tr>
      <td colspan="3" class="standout"><span class="error_msg">The goto is not!</span></td>
   </tr>
      </TMPL_IF>
      
      <TMPL_IF NAME="no_valid_goto">
      <tr>
      <td colspan="3" class="standout"><span class="error_msg">The goto "<TMPL_VAR NAME="valid_error">"is not valid!</span></td>
     </tr>
      </TMPL_IF>

   <tr>

      <td colspan="3" class="standout">&nbsp;</td>
   </tr>
</table>
</form>
</div>



</table>
<div id="footer">
<a target="_blank" href="http://postfixadmin.com/">Design by Postfixadmin. All rights reserved</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
</div>





<TR>
		<TD valign="top" bgcolor="#FFFFFF">
     <p align="center"><small><font size="1" face="Verdana">Copyright 2008++ <a target="_blank" href="http://unixforum.org.ua">Simplemail</a>
        . All rights reserved</font></small></p>
       </TD>
	</TR>

</BODY>
</HTML>